package com.fjnu.dao;

import java.util.List;

import com.fjnu.entities.MainInstrument;
import com.fjnu.entities.User;

/**
 * 增加仪器设备  	addInstrument
 * 删除仪器	delInstrument
 * 遍历设备	findManyInstrument
 * 更新设备信息	updateInstrument
 * @author 默默
 *
 */
public interface ImainInstrumentDao {
	
	public void addInstrument(MainInstrument maininstrument);
	
	public void delInstrument(int id);
	
	public List<MainInstrument> findManyInstrument(String condition,int pageSize,int pageIndex);
	MainInstrument findUniqueInstrument(int id);
	public void updateInstrument(MainInstrument maininstrument);
	
	public List<MainInstrument> findInstrumentNum(Integer page,Integer count);
	public List<MainInstrument> findRecipientsUnitNum(Integer page,Integer count);
	public List<MainInstrument> findclassification(Integer page,Integer count);
	void updateRecipientsPerson(int id,String recipientsPerson);
	void delManyIns(List listId);
	void manyToDead(List listId);
	List<MainInstrument> findManyByUnit(User user);
	List<MainInstrument> findManyByRLand(Integer langId);
}
